<?php
/**
 * Created by PhpStorm.
 * User: shwy
 * Date: 2017/5/17
 * Time: 13:37
 */
defined('BASEPATH') OR exit('No direct script access allowed');

class MY_Controller extends CI_Controller {

    public function __construct()
    {
        parent::__construct();
        $this->load->library('session');
    }

    //
    public function get(){
        $this->load->view('index');
    }

    /**
     * todo 公共编辑方法
     */
    public function edit(){

    }

}

class Admin_Controller extends CI_Controller {

    public function __construct()
    {
        parent::__construct();
    }




    public function get_user(){
        return 'get_admin';
    }

}